//
//  LogView.m
//  Gas
//
//  Created by zl on 2018/6/6.
//  Copyright © 2018年 HongHu. All rights reserved.
//

#import "LogView.h"

@implementation LogView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor colorWithHexString:@"#efefef"];
        
        self.tv1 = [[UITextView alloc] initWithFrame:CGRectMake(0, 0, self.width/2, self.height)];
        [self addSubview:self.tv1];
        
        self.tv2 = [[UITextView alloc] initWithFrame:CGRectMake(self.tv1.right, 0, self.width/2, self.height)];
        [self addSubview:self.tv2];
        
    }
    return self;
}

@end
